
import axios from "./axios";

export const homeApi = () => {
    return axios.request({
        url: '/comic/search/comicType/少年/1/20',
        method: 'get'
    })
}
export const mhListApi = (id) => {
    return axios.request({
        url: `/comicChapter/search/${id}`,
        method: "get"
    })
}

export const mhDetailsApi = id => {
    return axios.request({
        url: `/comicContent/search/${id}`,
        method: "get"
    })
}
export const mhSerchApi = str => {
    return axios.request({
        url: `/comic/search/title/${encodeURIComponent(str)}/1/30`,
        method: "get"
    })
}